<!DOCTYPE html>
<html>
<head>
	<title>ueditor测试</title>
</head>
<body>
<!-- 加载编辑器的容器 -->
    <form action="__CONTROLLER__/content_edit" method="post">
        <input type="hidden" name="id" value="{$id}">
        <input type="hidden" name="article_type" value="{$article_type}">
        <script id="container" name="content" type="text/plain"><?php echo $content; ?></script>
        <div style="margin-top:20px">
            <button type="submit" class="btn btn-sm btn-pink" >提交</button> <span class="btn btn-sm" onClick="location.href='{:U('Content/index')}'">返回</span>
        </div>
    </form>
    <!-- 配置文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        var ue = UE.getEditor('container');
    </script>
</body>
</html>